import { request } from '@/api/request'

// 查询产品类型列表
export function productTypeList(data) {
  return request({
    url: '/system/home/product/type/list',
    method: 'post',
    data
  })
}

// 查询产品列表
export function productLiist(params) {
  return request({
    url: '/system/home/product/user/list',
    method: 'get',
    params
  })
}

// 客户绑定通知
export function accountBind(data) {
  return request({
    url: '/huawei/account/bind',
    method: 'post',
    data
  })
}

// 客户绑定通知
export function loginParameters(params) {
  return request({
    url: '/huawei/loginParameters',
    method: 'get',
    params
  })
}

// 客户绑定通知
export function createSubCustomer(data) {
  return request({
    url: '/huawei/createSubCustomer',
    method: 'post',
    data
  })
}

// 发送验证码
export function sendVerificationMessageCode(data) {
  return request({
    url: '/huawei/sendVerificationMessageCode',
    method: 'post',
    data
  })
}
